package core.messages;

import java.io.Serializable;
import java.util.ArrayList;

import core.modules.database.SuperVotingCard;

// do wysylania danych wyborczych do terminala

public class DaneT implements Serializable, IMessage{

	private static final long serialVersionUID = -341972631650350396L;
	private int numer;
	private ArrayList<SuperVotingCard> votingCard;

	public DaneT(int numer, ArrayList<SuperVotingCard> votingCard){
		this.numer = numer;
		this.setVotingCard(votingCard);
	}

	public String getType() {
		return "Dane wyborcze";
	}

	public int getNumber(){
		return numer;
	}
	
	public void setNumber(int nr){
		this.numer = nr;
	}

	public ArrayList<SuperVotingCard> getVotingCard() {
		return votingCard;
	}

	public void setVotingCard(ArrayList<SuperVotingCard> votingCard) {
		this.votingCard = votingCard;
	}
}
